/* 
 * File:   CApplication.cpp
 * Author: root
 * 
 * Created on March 24, 2012, 11:35 PM
 */

#include "CApplication.h"

CApplication * CApplication::theApp = NULL;

//------------------------------------------------------------------------------
//
//------------------------------------------------------------------------------
CApplication * CApplication::GetApp()
{
    if (theApp == NULL)
        theApp = new CApplication();
    
    return theApp;
}

//------------------------------------------------------------------------------
//
//------------------------------------------------------------------------------
VOID CApplication::ShowSplashScreen()
{
    CWindow wndSplashScreen;
    wndSplashScreen.CenterWindow();
    wndSplashScreen.SetDecorations(FALSE);
    wndSplashScreen.ShowWindow();
}

//------------------------------------------------------------------------------
//
//------------------------------------------------------------------------------
CApplication::CApplication()
{
}

//------------------------------------------------------------------------------
//
//------------------------------------------------------------------------------
CApplication::~CApplication()
{
}

